﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
     [CustomAttribute(TableName = "pi_PlanBaogong_sub", Description = "生产报工子表")]
   public class DbPlanBaogongSub
    {
        private int? _id;
        private string _happendate;
        private string _usercode;
        private string _ynum;
        private string _nnum;
        private string _createuser;
        private string _createtime;
        private int? _isdel;
        private string _deluser;
        private string _deldate;
        private string _isfrom;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 发生日期
        /// </summary>
        public string happenDate
        {
            set { _happendate = value; }
            get { return _happendate; }
        }
        /// <summary>
        /// 生产人员
        /// </summary>
        public string userCode
        {
            set { _usercode = value; }
            get { return _usercode; }
        }
        /// <summary>
        /// 合格数量
        /// </summary>
        public string yNum
        {
            set { _ynum = value; }
            get { return _ynum; }
        }
        /// <summary>
        /// 不合格数
        /// </summary>
        public string nNum
        {
            set { _nnum = value; }
            get { return _nnum; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 删除标识
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delDate
        {
            set { _deldate = value; }
            get { return _deldate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string isFrom
        {
            set { _isfrom = value; }
            get { return _isfrom; }
        }
        public string bgCode { get; set; }
        public string gxCode { get; set; }
    }
}
